Optimal. Leaf size=115 \[ \frac {b e x^2 \sqrt {-1-c^2 x^2}}{6 c \sqrt {-c^2 x^2}}+d x \left (a+b \text {csch}^{-1}(c x)\right )+\frac {1}{3} e x^3 \left (a+b \text {csch}^{-1}(c x)\right )-\frac {b \left (6 c^2 d-e\right ) x \text {ArcTan}\left (\frac {c x}{\sqrt {-1-c^2 x^2}}\right )}{6 c^2 \sqrt {-c^2 x^2}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.04, antiderivative size = 115, normalized size of antiderivative = 1.00, number of steps
used = 5, number of rules used = 5, integrand size = 16, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.312, Rules used = {6427, 12, 396,
223, 209} \begin {gather*} d x \left (a+b \text {csch}^{-1}(c x)\right )+\frac {1}{3} e x^3 \left (a+b \text {csch}^{-1}(c x)\right )-\frac {b x \text {ArcTan}\left (\frac {c x}{\sqrt {-c^2 x^2-1}}\right ) \left (6 c^2 d-e\right )}{6 c^2 \sqrt {-c^2 x^2}}+\frac {b e x^2 \sqrt {-c^2 x^2-1}}{6 c \sqrt {-c^2 x^2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 209
Rule 223
Rule 396
Rule 6427
Rubi steps
\begin {align*} \int \left (d+e x^2\right ) \left (a+b \text {csch}^{-1}(c x)\right ) \, dx &=d x \left (a+b \text {csch}^{-1}(c x)\right )+\frac {1}{3} e x^3 \left (a+b \text {csch}^{-1}(c x)\right )-\frac {(b c x) \int \frac {3 d+e x^2}{3 \sqrt {-1-c^2 x^2}} \, dx}{\sqrt {-c^2 x^2}}\\ &=d x \left (a+b \text {csch}^{-1}(c x)\right )+\frac {1}{3} e x^3 \left (a+b \text {csch}^{-1}(c x)\right )-\frac {(b c x) \int \frac {3 d+e x^2}{\sqrt {-1-c^2 x^2}} \, dx}{3 \sqrt {-c^2 x^2}}\\ &=\frac {b e x^2 \sqrt {-1-c^2 x^2}}{6 c \sqrt {-c^2 x^2}}+d x \left (a+b \text {csch}^{-1}(c x)\right )+\frac {1}{3} e x^3 \left (a+b \text {csch}^{-1}(c x)\right )-\frac {\left (b c \left (6 d-\frac {e}{c^2}\right ) x\right ) \int \frac {1}{\sqrt {-1-c^2 x^2}} \, dx}{6 \sqrt {-c^2 x^2}}\\ &=\frac {b e x^2 \sqrt {-1-c^2 x^2}}{6 c \sqrt {-c^2 x^2}}+d x \left (a+b \text {csch}^{-1}(c x)\right )+\frac {1}{3} e x^3 \left (a+b \text {csch}^{-1}(c x)\right )-\frac {\left (b c \left (6 d-\frac {e}{c^2}\right ) x\right ) \text {Subst}\left (\int \frac {1}{1+c^2 x^2} \, dx,x,\frac {x}{\sqrt {-1-c^2 x^2}}\right )}{6 \sqrt {-c^2 x^2}}\\ &=\frac {b e x^2 \sqrt {-1-c^2 x^2}}{6 c \sqrt {-c^2 x^2}}+d x \left (a+b \text {csch}^{-1}(c x)\right )+\frac {1}{3} e x^3 \left (a+b \text {csch}^{-1}(c x)\right )-\frac {b \left (6 d-\frac {e}{c^2}\right ) x \tan ^{-1}\left (\frac {c x}{\sqrt {-1-c^2 x^2}}\right )}{6 \sqrt {-c^2 x^2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.37, size = 169, normalized size = 1.47 \begin {gather*} a d x+\frac {1}{3} a e x^3+\frac {b e x^2 \sqrt {\frac {1+c^2 x^2}{c^2 x^2}}}{6 c}+b d x \text {csch}^{-1}(c x)+\frac {1}{3} b e x^3 \text {csch}^{-1}(c x)-\frac {b d \sqrt {1+c^2 x^2} \log \left (-\sqrt {c^2} x+\sqrt {1+c^2 x^2}\right )}{c \sqrt {c^2} \sqrt {1+\frac {1}{c^2 x^2}} x}-\frac {b e \log \left (x \left (1+\sqrt {\frac {1+c^2 x^2}{c^2 x^2}}\right )\right )}{6 c^3} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.33, size = 126, normalized size = 1.10
method | result | size |
derivativedivides | \(\frac {\frac {a \left (d \,c^{3} x +\frac {1}{3} e \,c^{3} x^{3}\right )}{c^{2}}+\frac {b \left (\mathrm {arccsch}\left (c x \right ) d \,c^{3} x +\frac {\mathrm {arccsch}\left (c x \right ) e \,c^{3} x^{3}}{3}+\frac {\sqrt {c^{2} x^{2}+1}\, \left (6 d \,c^{2} \arcsinh \left (c x \right )+e c x \sqrt {c^{2} x^{2}+1}-e \arcsinh \left (c x \right )\right )}{6 c x \sqrt {\frac {c^{2} x^{2}+1}{c^{2} x^{2}}}}\right )}{c^{2}}}{c}\) | \(126\) |
default | \(\frac {\frac {a \left (d \,c^{3} x +\frac {1}{3} e \,c^{3} x^{3}\right )}{c^{2}}+\frac {b \left (\mathrm {arccsch}\left (c x \right ) d \,c^{3} x +\frac {\mathrm {arccsch}\left (c x \right ) e \,c^{3} x^{3}}{3}+\frac {\sqrt {c^{2} x^{2}+1}\, \left (6 d \,c^{2} \arcsinh \left (c x \right )+e c x \sqrt {c^{2} x^{2}+1}-e \arcsinh \left (c x \right )\right )}{6 c x \sqrt {\frac {c^{2} x^{2}+1}{c^{2} x^{2}}}}\right )}{c^{2}}}{c}\) | \(126\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.27, size = 150, normalized size = 1.30 \begin {gather*} \frac {1}{3} \, a x^{3} e + a d x + \frac {1}{12} \, {\left (4 \, x^{3} \operatorname {arcsch}\left (c x\right ) + \frac {\frac {2 \, \sqrt {\frac {1}{c^{2} x^{2}} + 1}}{c^{2} {\left (\frac {1}{c^{2} x^{2}} + 1\right )} - c^{2}} - \frac {\log \left (\sqrt {\frac {1}{c^{2} x^{2}} + 1} + 1\right )}{c^{2}} + \frac {\log \left (\sqrt {\frac {1}{c^{2} x^{2}} + 1} - 1\right )}{c^{2}}}{c}\right )} b e + \frac {{\left (2 \, c x \operatorname {arcsch}\left (c x\right ) + \log \left (\sqrt {\frac {1}{c^{2} x^{2}} + 1} + 1\right ) - \log \left (\sqrt {\frac {1}{c^{2} x^{2}} + 1} - 1\right )\right )} b d}{2 \, c} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 312 vs.
\(2 (104) = 208\).
time = 0.38, size = 312, normalized size = 2.71 \begin {gather*} \frac {2 \, a c^{3} x^{3} \cosh \left (1\right ) + 2 \, a c^{3} x^{3} \sinh \left (1\right ) + 6 \, a c^{3} d x + 2 \, {\left (3 \, b c^{3} d + b c^{3} \cosh \left (1\right ) + b c^{3} \sinh \left (1\right )\right )} \log \left (c x \sqrt {\frac {c^{2} x^{2} + 1}{c^{2} x^{2}}} - c x + 1\right ) - {\left (6 \, b c^{2} d - b \cosh \left (1\right ) - b \sinh \left (1\right )\right )} \log \left (c x \sqrt {\frac {c^{2} x^{2} + 1}{c^{2} x^{2}}} - c x\right ) - 2 \, {\left (3 \, b c^{3} d + b c^{3} \cosh \left (1\right ) + b c^{3} \sinh \left (1\right )\right )} \log \left (c x \sqrt {\frac {c^{2} x^{2} + 1}{c^{2} x^{2}}} - c x - 1\right ) + 2 \, {\left (3 \, b c^{3} d x - 3 \, b c^{3} d + {\left (b c^{3} x^{3} - b c^{3}\right )} \cosh \left (1\right ) + {\left (b c^{3} x^{3} - b c^{3}\right )} \sinh \left (1\right )\right )} \log \left (\frac {c x \sqrt {\frac {c^{2} x^{2} + 1}{c^{2} x^{2}}} + 1}{c x}\right ) + {\left (b c^{2} x^{2} \cosh \left (1\right ) + b c^{2} x^{2} \sinh \left (1\right )\right )} \sqrt {\frac {c^{2} x^{2} + 1}{c^{2} x^{2}}}}{6 \, c^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \left (a + b \operatorname {acsch}{\left (c x \right )}\right ) \left (d + e x^{2}\right )\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \left (e\,x^2+d\right )\,\left (a+b\,\mathrm {asinh}\left (\frac {1}{c\,x}\right )\right ) \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________